//----------------------------------------------------------------------------
// Includes
//----------------------------------------------------------------------------
Ti.include('include.js');
Ti.include('db.js');

//----------------------------------------------------------------------------
// databases initialiseren
//----------------------------------------------------------------------------
setupApothekenDB();
populateApothekenDB();
setupHHReceptenDB();

//----------------------------------------------------------------------------
// Platform specifieke code
//----------------------------------------------------------------------------

var platform = Ti.Platform.osname;
log('Platform: ' +platform);

if (isIphone() || isIpad()) {
   Titanium.UI.iPhone.hideStatusBar();
   Ti.include('app_iphone.js');
}
else {
   // momenteel nog geen ondersteuning voor Android, BB, Tizen etc.
   log("Platform " +platform +" wordt niet ondersteund!");
}
